home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / screen-3.5.1 / .iscreenrc next >
Encoding:
Text File  |  1995-06-20  |  2.0 KB  |  65 lines

  1. #password ODSJQf.4IJN7E    # "1234"
  2.  
  3. vbell on
  4. autodetach on
  5. startup_message off
  6.  
  7. # Extend the vt100 desciption with some sequences.
  8. termcap  vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
  9. terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
  10.  
  11. #xterm understands both im/ic and doesn't have a status line.
  12. #Note: Do not specify im and ic in the real termcap/info file as
  13. #some programs (e.g. vi) will not work anymore.
  14. termcap  xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
  15. terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
  16.  
  17. #80/132 column switching must be enabled for Z0/Z1 to work
  18. termcap  xterm Z0=\E[?3h:Z1=\E[?3l
  19. terminfo xterm Z0=\E[?3h:Z1=\E[?3l
  20.  
  21. #xterms is xterm with status line in title bar
  22. termcap  xterms 'hs:ts=\E]0;:fs=\007:ds=\E]0;iScreen\007:cs=\E[%i%d;%dr:LP:G0:im=\E[4h:ei=\E[4l'
  23. terminfo xterms 'hs:ts=\E]0;:fs=\007:ds=\E]0;iScreen\007:cs=\E[%i%p1%d;%p2%dr:LP:G0:im=\E[4h:ei=\E[4l'
  24.  
  25. #make hp700 termcap/info better
  26. termcap  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
  27. terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
  28.  
  29. #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
  30. #essential to have it here, as this is a slow terminal.
  31. termcap wy75-42 xo
  32. terminfo wy75-42 xo
  33.  
  34. # New termcap sequences for cursor application mode.
  35. termcap wy* CS=\E[?1h:CE=\E[?1l
  36. terminfo wy* CS=\E[?1h:CE=\E[?1l
  37.  
  38. # Make the output buffer large for (fast) xterms.
  39. termcap xterm* OL=10000
  40. terminfo xterm* OL=10000
  41.  
  42. #remove some stupid / dangerous key bindings
  43. bind k
  44. bind ^k
  45. bind .
  46. bind ^\
  47. bind \\
  48. bind ^h
  49. bind h
  50. #make them better
  51. bind '\\' quit
  52. bind 'K' kill
  53. bind 'I' login on
  54. bind 'O' login off
  55. bind '}' history
  56.  
  57. pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
  58.  
  59. # Yet another hack:
  60. # Prepend/append register [/] to the paste if ^a^] is pressed.
  61. # This lets me have autoindent mode in vi.
  62. register [ "\033:se noai\015a"
  63. register ] "\033:se ai\015a"
  64. bind ^] paste [.]
  65.